//
//  JSTCommonHeaderView.h
//  KYKJPackDemo
//
//  Created by 01 on 17/5/17.
//  Copyright © 2017年 ???. All rights reserved.
//

#import "JSTPublicView.h"
#import "JSTInterestcircleDataModel.h"
#import "MLEmojiLabel.h"

@protocol JSTCommonHeaderViewDelegate <NSObject>
@optional
- (void)leftChange;

- (void)rightChange;

- (void)changePersonPage;

@end

@interface JSTCommonHeaderView : JSTPublicView
/**
 头像
 */
@property (nonatomic, strong) UIImageView *iconView;

/**
 昵称
 */
@property (nonatomic, strong) UILabel *nameLabel;

/**
 内容
 */
@property (nonatomic, strong) MLEmojiLabel *contentLabel;

/**
 图片
 */
@property (nonatomic, strong) UIView *imgContentView;

/**
 分割线
 */
@property (nonatomic, strong) UIView *lineView;

/**
 时间
 */
@property (nonatomic, strong) UILabel *timeLabel;

/**
 评论
 */
@property (nonatomic, strong) UIButton *commentsBtn;

/**
 赞
 */
@property (nonatomic, strong) UIButton *praiseBtn;

/**
 选择器
 */
@property (nonatomic, strong) UIView *selectView;

/**
 数据模型
 */
@property (nonatomic, strong) JSTInterestcircleDataModel *model;

@property (nonatomic, assign) id <JSTCommonHeaderViewDelegate> delegate;

@property (nonatomic, assign) CGFloat headerHight;

- (void)createContent:(JSTInterestcircleDataModel *)model;

@property (nonatomic, assign) BOOL isCommentList;

@end
